<?=$this->form ( $this->element->getName (), $this->element->getAttribs (), false ); ?>
<?php echo $this->renderElement($this->element->txt); ?>
<table width="100%"  align="center">
	<tr>
		<td valign="top" width="47%">
		<table width="80%" align="center" class="iceDatTbl zebra">
			<tr>
				<th><?php echo $this->element->nombre->renderLabel ();?></th>
				<td><?php
				echo $this->renderElement ( $this->element->nombre );
				echo $this->element->nombre->renderErrors ();
				?></td>
			</tr>
			<tr>
				<th><?php echo $this->element->ubicacion1->renderLabel (); ?></th>
				<td><?php
				echo $this->renderElement ( $this->element->ubicacion1 );
				echo $this->renderElement ( $this->element->codubicacion1 );
				echo $this->element->ubicacion1->renderErrors ();
				echo $this->element->codubicacion1->renderErrors ();
				?></td>
			</tr>
			<tr>
				<th><?php echo $this->element->ubicacion2->renderLabel (); ?></th>
				<td><?php
				echo $this->renderElement ( $this->element->ubicacion2 );
				echo $this->renderElement ( $this->element->codubicacion2 );
				echo $this->element->ubicacion2->renderErrors ();
				echo $this->element->codubicacion2->renderErrors ();
				?></td>
			</tr>
			<tr>
				<th><?php echo $this->element->sector->renderLabel ();?></th>
				<td><?php
				echo $this->renderElement ( $this->element->sector );
				echo $this->element->sector->renderErrors ();
				?></td>
			</tr>
			<tr>
				<th><?php echo $this->element->extranjero->renderLabel ();?></th>
				<td><?php
				echo $this->renderElement ( $this->element->extranjero );
				echo $this->element->extranjero->renderErrors ();
				?></td>
			</tr>
		</table>
	</td>
	<td valign="top" width="5%">&nbsp;</td>
	<td valign="top" width="48%">
	<table width="80%" align="center" class="iceDatTbl zebra">
		<tr>
			<th><?php echo $this->element->codnivel->renderLabel (); ?></th>
			<td><?php
			echo $this->renderElement ( $this->element->codnivel );
			echo $this->element->codnivel->renderErrors ();
			?></td>
		</tr>
		<tr>
			<th><?php echo $this->element->codclasificacionarea->renderLabel (); ?></th>
			<td><?php
			echo $this->renderElement ( $this->element->codclasificacionarea );
			echo $this->element->codclasificacionarea->renderErrors ();
			?></td>
		</tr>
		<tr>
			<th><?php echo $this->element->titulo->renderLabel (); ?></th>
			<td><?php
			echo $this->renderElement ( $this->element->titulo );
			echo $this->element->titulo->renderErrors ();
			?></td>
		</tr>
		<tr>
			<th><?php echo $this->element->institucion->renderLabel (); ?></th>
			<td><?php
			echo $this->renderElement ( $this->element->institucion );
			echo $this->element->institucion->renderErrors ();
			?></td>
		</tr>
		<tr>
			<th>Fecha capacitación</th>
			<td><?php
			echo $this->element->fechaformaciond->renderLabel ();
			echo $this->renderElement ( $this->element->fechaformaciond );
			echo $this->element->fechaformaciond->renderErrors ();
//			echo str_repeat("&nbsp;",5);
			echo $this->element->fechaformacionh->renderLabel ();
			echo $this->renderElement ( $this->element->fechaformacionh );
			echo $this->element->fechaformacionh->renderErrors ();
			?></td>
		</tr>
	</table>
	</td>
	</tr>
    <?php
	if (! $this->element->isStatic ()) :
	?>
    <tr>
		<td  class="iceDatTblRow2" colspan="3" style="text-align: center;">
        <?php
		echo $this->renderElement ( $this->element->btnSubmit );
//		echo $this->element->btnSubmit->renderDescription();
		?>
		<input type="button" name="cancelar" id="cancelar" value="Limpiar búsqueda" onclick="location.href ='<?php echo $this->baseUrl("/solicitudes/preseleccionpares/seleccionarpares/")?>'"/>
        </td>
	</tr>
	<?php
	endif;
	?>
</table>
</form>